import { Module } from "@nestjs/common";
import { TypeOrmModule } from "@nestjs/typeorm";
import { ClassService } from "./class.service";
import { ClassController } from "./class.controller";
import { Class } from "./entities/class.entity";
import { TeacherService } from "../teacher/teacher.service";
import { Teacher } from "../teacher/entities/teacher.entity";

@Module({
  imports: [TypeOrmModule.forFeature([Class, Teacher])],
  controllers: [ClassController],
  providers: [ClassService, TeacherService],
})
export class ClassModule {}
